#pragma once

#include "../typedef.h"
#include "../sysapi.h"

NAMESPACE_BEGIN(io)

class SYS_API Directory
{
public:
	static bool Exists(const String& path);
	static bool MakeWrittable(const String& path);
	static bool IsDirectoryWrittable(const String& path);

	static bool GetFiles(StringArray& files,const String& path,const String& pattern,bool recursive);
};

NAMESPACE_END()